<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<%@ page contentType="text/html; charset=UTF-8"%>
<%@page import="com.minshenglife.zanzan.pub.Config" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String rootPath = Config.getProperty(Config.WX_BASEURL);//应用的根路径 request.getContextPath(); //返回应用的根路径
System.out.println(rootPath);
%>
<html>
<head>
<title>赞赞民生人后台管理系统</title>
<link type="text/css" rel="stylesheet" href="<%=rootPath%>/css/manage/login.css" />
<script type="text/javascript" src="<%=rootPath%>/js/manage/jquery-1.7.js"></script>

<script type="text/javascript">
    var rootPath = "<%=rootPath%>";
</script>
</head>

<body>
    <form id="loginform" method="post" action="">
        <div id="center_zone">
            <div class="login_logo"></div>
            <div class="line"></div>
            <ul>
           
            <span style="color: red;display: block;margin-bottom: 10px;"> <c:if test="${error != '' }">${error}</c:if></span>
            
                <li>
                    
                    <input class="text_input" type="text" tabindex="1" id="emp_name" name="emp_name" autocomplete="off" placeholder="用户名" required/>
                </li>
                <li>
                    <input class="text_input" type="password" tabindex="2" id="password" name="password" placeholder="密码" autocomplete="off" required/>
                </li>
                <!-- 验证码 add by jianghaibo 2015-09-18 -->
                <li>
                    <input class="text_input" type="text" tabindex="2" id="code" name="code" placeholder="验证码" autocomplete="off" required/>
                    <img width="80" height="25" src="<%=rootPath %>/Kaptcha"
								onclick="javascript:this.src=this.src.substring(0,this.src.length)+'?'+Math.random();"/>
                </li>
                
                <li>
                    <input class="login_button"  type="image" src="<%=rootPath%>/images/manage/login_button01.png" id='login' onclick="login()"/>
                </li>
                
            </ul>
        </div>
    </form>
    <div class="footer">Copyright &copy; 2003 - 2012 MINSHENG LIFE INSURANCE CO.,LTD. All Rights Reserved. 民生人寿保险股份有限公司  版权所有</div>
    <script type="text/javascript">
        function login(){
        	loginform.action=rootPath + "/managers/login.mge";
        	//loginform.action="http://localhost:8080/wx" + "/managers/login.mge";
        	
        	loginform.target="_self";
        	
        }
    </script>
</body>
</html>
